package com.joe.xl.common.framework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author joe
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CrmCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("pushDeviceType")
    private Integer pushDeviceType;

    @TableField("newMemberType")
    private String newMemberType;

    private Integer status;

    @TableField("buyAmount")
    private Double buyAmount;

    @TableField("crmCustomerName")
    private String crmCustomerName;

    private Integer isoldspeedup;

    @TableField("registerMonth")
    private String registerMonth;

    @TableField("lastSoSysno")
    private Integer lastSoSysno;

    @TableField("marketingSource")
    private String marketingSource;

    @TableField("Email")
    private String Email;

    @TableField("registerDeliveryName")
    private String registerDeliveryName;

    @TableField("totalGrowth")
    private Integer totalGrowth;

    @TableField("registerWebSiteSysno")
    private Integer registerWebSiteSysno;

    private Integer rank;

    @TableField("customerID")
    private String customerID;

    @TableField("safeCellPhone")
    private String safeCellPhone;

    @TableField("firstSoSysno")
    private Integer firstSoSysno;

    @TableField("lifeCycleType")
    private String lifeCycleType;

    @TableField("pushID")
    private String pushID;

    @TableField("lastSoDate")
    private LocalDateTime lastSoDate;

    private LocalDate birthday;

    @TableField("registerDate")
    private LocalDateTime registerDate;

    @TableField("etlUpdateTime")
    private LocalDateTime etlUpdateTime;

    @TableField("registerWebSiteName")
    private String registerWebSiteName;

    @TableField("registerDay")
    private String registerDay;

    private Double giftbal;

    @TableField("customerName")
    private String customerName;

    @TableField("mainChannel")
    private String mainChannel;

    @TableField("memberPoint")
    private Integer memberPoint;

    @TableField("rankName")
    private String rankName;

    @TableField("rankPromotionDate")
    private LocalDateTime rankPromotionDate;

    @TableField("weixinID")
    private String weixinID;

    @TableField("terminalSource")
    private String terminalSource;

    @TableField("buyTimes")
    private Integer buyTimes;

    @TableField("registerYear")
    private String registerYear;

    @TableField("firstSoDate")
    private LocalDateTime firstSoDate;

    @TableField("cellPhone")
    private String cellPhone;

    @TableField("DeviceID")
    private String DeviceID;

    @TableField("registerQuarter")
    private String registerQuarter;

    @TableId(value = "customerSysno", type = IdType.AUTO)
    private Integer customerSysno;

    @TableField("registerDeliverySysno")
    private Integer registerDeliverySysno;

    @TableField("subChannel")
    private String subChannel;


}
